#!/bin/bash


echo "To correct the bias"

listforzerocorr=$1 
BIAS=$2

if [ $# -ne 2  ]
then
	echo "usage: xzerocorr_list.sh listaaa Zero.fit"
	exit 0
fi

for fitfile in `cat $listforzerocorr`
do
#	echo $fitfile
	xzerocorr.sh $fitfile $BIAS
done
echo "xzerocorr_list.sh is over"
